package com.yaozheng.vocationaltraining.activity;

import android.view.View;
import android.widget.ImageView;

import com.yaozheng.vocationaltraining.R;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.Extra;
import org.androidannotations.annotations.ViewById;

/**
 * 查看大图
 */
@EActivity(R.layout.activity_big_picture)
public class BigPictureActivity extends BaseActivity {
    @ViewById
    ImageView bigPictureImageView;
    @Extra
    String imageUrl;


    @AfterViews
    void initView() {
        getDefaultBitmapLoader().displayImage(imageUrl, bigPictureImageView);
    }

    @Click(R.id.rootView)
    public void rootViewClick() {
        backClick();
    }
}
